package com.gper.vip.homework.facotry.abstractF;

public class BenzCar extends Car {

    private String brand = "Benz";

    private String color = "white";

    private String enegy = "oil";

    public void driver() {
        System.out.println("I driver the car of " + this.color + " " + this.brand + " with " + this.enegy);
    }
}
